import React from 'react';
import { useRoutes } from 'react-router-dom';

import routers from './routers';

interface Props{

}

function RouterView(props:Props) {
    return (
        <>
            { useRoutes(routers) }
        </>
    );
}

export default RouterView;